home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…rary 5 (Internal Edition)
/
Apple R&P Lib Internal v5.0.iso
/
3-Presentations
/
Markets
/
Education
/
HyperCard In Education
/
Math Quizzer
/
card_4615.txt
< prev
next >
Wrap
Text File
|
1990-04-02
|
8KB
|
406 lines
-- card: 4615 from stack: in
-- bmap block id: 5122
-- flags: 0000
-- background id: 2658
-- name:
----- HyperTalk script -----
on openCard
put 10 into card field 14
put 10 into card field 15
hide card field 7
hide card field 9
hide card field 10
put 0 into card field 8
put 0 into card field 9
put 0 into card field 10
put 0 into card field 2
put 0 into card field 3
put " " into card field 4
repeat with x=11 to 13
hide card field x
end repeat
hide card field 6
hide card field 8
end openCard
-- part 1 (field)
-- low flags: 00
-- high flags: 0004
-- rect: left=20 top=31 right=48 bottom=114
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 2 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=19 top=50 right=102 bottom=122
-- title width / last selected line: 0
-- icon id / first selected line: 31685 / 31685
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Push to Get Numbers
----- HyperTalk script -----
on mouseUp
hide card field 11
hide card field 12
hide card field 13
put " " into card field 4
hide card field 8
hide card field 7
hide card field 6
hide card field 9
hide card field 10
put the random of card field 14 into pox1
put the random of card field 15 into pox2
put pox1*pox2 into pox3
put pox3 into card field 2
put pox3/pox2 into card field 3
show card field 5
show card button id 7
end mouseUp
-- part 3 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=161 top=183 right=199 bottom=211
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 4 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=268 top=185 right=201 bottom=322
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 5 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=379 top=185 right=201 bottom=441
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 6 (field)
-- low flags: 80
-- high flags: 0004
-- rect: left=379 top=124 right=173 bottom=440
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 7 (button)
-- low flags: 80
-- high flags: 8003
-- rect: left=345 top=209 right=237 bottom=467
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Push When Ready
----- HyperTalk script -----
on mouseUp
put card field 10+1 into card field 10
hide card button id 7
hide card field 5
put card field two into numb1
put card field three into numb2
put card field four into numb3
if numb1/numb2=numb3
then show card field 6
else show card field 7
if numb1/numb2=numb3
then put card field 9+1 into card field 9
put numb1/numb2 into card field 8
show card field 8
show card field 9
show card field 10
show card field 11
show card field 12
show card field 13
end mouseUp
-- part 8 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=220 top=270 right=320 bottom=323
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 9 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=221 top=208 right=257 bottom=318
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 10 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=220 top=256 right=271 bottom=283
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 11 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=177 top=325 right=341 bottom=208
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 12 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=253 top=325 right=341 bottom=291
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 13 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=70 top=325 right=342 bottom=177
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 14 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=208 top=325 right=341 bottom=253
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 15 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=291 top=325 right=341 bottom=465
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 19 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=223 top=44 right=60 bottom=299
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 21 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=309 top=44 right=60 bottom=386
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 22 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=223 top=27 right=43 bottom=388
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 23 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=0 top=266 right=314 bottom=102
-- title width / last selected line: 0
-- icon id / first selected line: 2162 / 2162
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Return
----- HyperTalk script -----
on mouseUp
go to card 1
end mouseUp
-- part contents for card part 1
----- text -----
Division Card
-- part contents for card part 6
----- text -----
Put Answer Below
-- part contents for card part 8
----- text -----
was the correct answer. Good job!
-- part contents for card part 9
----- text -----
Wrong! The correct answer was
-- part contents for card part 13
----- text -----
You have gotten
-- part contents for card part 14
----- text -----
out of
-- part contents for card part 15
----- text -----
division problems right.
-- part contents for card part 10
----- text -----
0
-- part contents for card part 11
----- text -----
0
-- part contents for card part 12
----- text -----
0
-- part contents for card part 3
----- text -----
0
-- part contents for card part 4
----- text -----
0
-- part contents for card part 5
----- text -----
-- part contents for card part 22
----- text -----
Maximum Divisors
-- part contents for card part 19
----- text -----
10
-- part contents for card part 21
----- text -----
10